package org.example.lease.vo.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.example.lease.model.entities.SystemUser;

@Data
@Schema(description = "后台管理系统登录信息")
public class LoginVo {

    @Schema(description="用户名")
    private String username;

    @Schema(description="密码")
    private String password;

    @Schema(description="验证码key")
    private String captchaKey;

    @Schema(description="验证码code")
    private String captchaCode;
    
    // 用于在处理器之间传递用户信息，不参与接口文档生成
    @Schema(hidden = true)
    private SystemUser systemUser;
}
